dreamweaver.releaseDocument()

Availability 2.0
Description Explicitly releases a previously referenced document from memory.
Documents referenced by dreamweaver.getObjectTags(), dreamweaver.getObjectRefs(), dreamweaver.getDocumentPath(), or dreamweaver.getDocumentDOM() are automatically released when the script that contains the call finishes executing. If the script opens many documents, you must use this function to explicitly release documents before finishing the script to avoid running out of memory.
Note: This function is relevant only for documents that were referenced by a URL, that are not currently open in a frame or Document window, and that are not extension files. (Extension files are loaded into memory at startup and are not released until you quit Dreamweaver.)
Arguments documentObject
The argument is the object at the root of a document's DOM tree (the value returned by dreamweaver.getDocumentDOM()).
Returns Nothing.
Enabler None.